package com.zrf.springCloudTest;

import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.cloud.netflix.eureka.server.EnableEurekaServer;

/**
 * spring boot启动main方法
 * @author zrf
 * Created by zrf on 2016/8/27.
 */
@SpringBootApplication
@EnableEurekaServer
public class Application {
    /**
     * main方法
     * @param args 参数
     */
    public static void main(String[] args) {
        new SpringApplicationBuilder(Application.class).web(true).run(args);
    }
}
